package com.linran.xa_mysql.xaservice;

import java.util.Scanner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class SimpleTest {
    final static Pattern compile = Pattern.compile("\\[\\d+,\\d+\\]");

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String line = scanner.nextLine();
        String datas = line.substring(1, line.length()-1);
        Matcher matcher = compile.matcher(datas);
        if (matcher.find()) {
        }
    }

    static class Bo {
        private Long width;
        private Long height;

        public Long getWidth() {
            return width;
        }

        public void setWidth(Long width) {
            this.width = width;
        }

        public Long getHeight() {
            return height;
        }

        public void setHeight(Long height) {
            this.height = height;
        }
    }
}
